package com.lotter.dao;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.lotter.model.user.OnlineUser;

public interface OnlineUserMapper extends BaseDao<OnlineUser> {

	
	List<OnlineUser> findOnlineUser(@Param("timeout")Date timeout);
	
	int delete(@Param("timeout")Date timeout);
	
	int updateLoginTimeout(@Param("uid")Long uid,@Param("timeout")Date timeout);
	
	int deleteByUid(Long uid);
}
